

 \documentclass[12pt]{article}
 
 \usepackage{lscape}  % Load package

\begin{document}

\begin{landscape}

% latex table generated in R 4.4.2 by xtable 1.8-4 package
% Fri Feb  7 15:06:34 2025
\begin{table}[ht]
\centering
\begin{tabular}{rllrrrr}
  \hline
 & Variable & Comparison & t\_stat & p\_value & CI\_lower & CI\_upper \\ 
  \hline
T1: SubLegStand (1 vs. 2) & SubLegStand & All Male vs. Gender-Balanced & -11.60 & 0.00 & -0.35 & -0.25 \\ 
  T2: SubLegStand (1 vs. 3) & SubLegStand & All Male vs. Quota Gender-Balanced & -8.58 & 0.00 & -0.28 & -0.18 \\ 
  T3: ProLegStand (1 vs. 2) & ProLegStand & All Male vs. Gender-Balanced & -33.98 & 0.00 & -0.89 & -0.79 \\ 
  T4: ProLegStand (1 vs. 3) & ProLegStand & All Male vs. Quota Gender-Balanced & -29.18 & 0.00 & -0.79 & -0.69 \\ 
   \hline
\end{tabular}
\end{table}

\end{landscape}

\end{document}